package com.koron.css2.baseConfig.vo;

import java.util.ArrayList;

/**
 * 物料编码树
 * @author 许海宜
 * 2020年4月3日
 */
public class MatrCodeTreeVO {

	private String id;
	/**
	 * 材料定价主键id
	 */
	private String matrPriceId;
    private String matrNo;
    private String matrName;
    private String matrMode;
    private String matrUnit;
    private Double matrPrice;
    private String classCode;
	private String parent; // 父级id
	private Integer isLeaf; // 叶子节点
	private boolean isParent;
	private ArrayList<MatrCodeTreeVO> children = new ArrayList<>(); // 下级目录

	public String getMatrPriceId() {
		return matrPriceId;
	}

	public void setMatrPriceId(String matrPriceId) {
		this.matrPriceId = matrPriceId;
	}

	public boolean isParent() {
		return isParent;
	}

	public void setParent(boolean parent) {
		isParent = parent;
	}

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getMatrNo() {
		return matrNo;
	}
	public void setMatrNo(String matrNo) {
		this.matrNo = matrNo;
	}
	public String getMatrName() {
		return matrName;
	}
	public void setMatrName(String matrName) {
		this.matrName = matrName;
	}
	public String getMatrMode() {
		return matrMode;
	}
	public void setMatrMode(String matrMode) {
		this.matrMode = matrMode;
	}
	public String getMatrUnit() {
		return matrUnit;
	}
	public void setMatrUnit(String matrUnit) {
		this.matrUnit = matrUnit;
	}
	public Double getMatrPrice() {
		return matrPrice;
	}
	public void setMatrPrice(Double matrPrice) {
		this.matrPrice = matrPrice;
	}
	public String getClassCode() {
		return classCode;
	}
	public void setClassCode(String classCode) {
		this.classCode = classCode;
	}
	public String getParent() {
		return parent;
	}
	public void setParent(String parent) {
		this.parent = parent;
	}
	public Integer getIsLeaf() {
		return isLeaf;
	}
	public void setIsLeaf(Integer isLeaf) {
		this.isLeaf = isLeaf;
	}
	public boolean getIsParent() {
		return isParent;
	}
	public void setIsParent(boolean isParent) {
		this.isParent = isParent;
	}
	public ArrayList<MatrCodeTreeVO> getChildren() {
		return children;
	}
	public void setChildren(ArrayList<MatrCodeTreeVO> children) {
		this.children = children;
	}
	
}
